package com.xiaoluo.lottery.common.weixin.pay.beans;

import com.xiaoluo.lottery.common.weixin.base.BaseReq;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * Project : lottery
 * Package : main.java.com.xiaoluo.lottery.common.weixin.pay
 * Created by Willian.
 * Date  : 2016/4/6 14:01.
 */
@Root(name = "xml")
public class TestReq {


    @Element(name = "appid") private String appid ="wx7c6a7bf8b5dcf4e4";
    @Element(name = "body") private String body ="测试商品";
    @Element(name = "mch_id") private String mch_id ="1227867502";
    @Element(name = "nonce_str") private String nonce_str ="i8xjebx6snmoz6z8gmv794ipm2no6e0g";
    @Element(name = "notify_url") private String notify_url ="http://127.0.0.1";
    @Element(name = "openid") private String openid ="100001";
    @Element(name = "out_trade_no") private String out_trade_no ="201604062033";
    @Element(name = "spbill_create_ip") private String spbill_create_ip ="127.0.0.1";
    @Element(name = "total_fee") private String total_fee ="1000";
    @Element(name = "trade_type") private String trade_type ="JSAPI";
    @Element(name = "sign") private String sign ="E23FED6F769095F1B38F7D84E1AEAB54";


    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getSpbill_create_ip() {
        return spbill_create_ip;
    }

    public void setSpbill_create_ip(String spbill_create_ip) {
        this.spbill_create_ip = spbill_create_ip;
    }

    public String getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    private <T> T build(T a){
        return a;
    }
}
